package com.lsu.observer.practice;

/**
 * 测试程序
 *
 * @Author wang suo
 * @Date 2020/10/22 0022 8:37
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        LuSu luSu = new LuSu();

        Killer k1 = new Killer("王硕");
        Killer k2 = new Killer("王虚");
        Killer k3 = new Killer("王蜗");
        Killer k4 = new Killer("王回");
        k1.setLuSu(luSu);
        k2.setLuSu(luSu);
        k3.setLuSu(luSu);
        k4.setLuSu(luSu);

        luSu.throwCup();
    }
}
